import service from '@/utils/request'
export const sjbzGetCategory = (params) => {
  return service({
    url: '/sjbz/sjbzGetCategory',
    method: 'get',
    params
  })
}

export const sjbzGetidCategory = (params) => {
  return service({
    url:'/sjbz/sjbzGetidCategory',
    method:'get',
    params
  })
}

export const sjbzDeleteCategory = (params) => {
  return service({
    url:'/sjbz/sjbzDeleteCategory',
    method:'delete',
    params
  })
}

export const sjbzCreateCategory = (data) => {
  return service({
    url:'/sjbz/sjbzCreateCategory',
    method:'post',
    data
  })
}

export const sjbzUpdateCategory = (data) => {
  return service({
    url:'/sjbz/sjbzUpdateCategory',
    method:'put',
    data
  })
}
